\chapter{Legal Notices}

\section{Introduction}

ngscopeclient, libscopehal, and the remainder of the project are all released under the 3-clause BSD license
(reproduced below). This is a permissive license, explicitly chosen to encourage integration with third-party open
source and commercial projects.

\section{License Agreement}

Copyright (c) 2012-2025 Andrew D. Zonenberg and contributors.
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
following conditions are met:
\begin{itemize}
\item Redistributions of source code must retain the above copyright notice, this list of conditions, and the
following disclaimer.
\item Redistributions in binary form must reproduce the above copyright notice, this list of conditions, and the
following disclaimer in the documentation and/or other materials provided with the distribution.
\item Neither the name of the author nor the names of any contributors may be used to endorse or promote products
derived from this software without specific prior written permission.
\end{itemize}

THIS SOFTWARE IS PROVIDED BY THE AUTHORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
THE AUTHORS BE HELD LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

\section{Trademarks}

This document frequently mentions the names of various test equipment vendors and products in order to discuss
ngscopeclient's compatibility with said products. The reader should assume that these are all trademarks of their
respective owners.

\section{Third Party Licenses}

\begin{itemize}
\item vkFFT (static, MIT license) - \url{https://github.com/ngscopeclient/VkFFT/blob/master/LICENSE}
\item half (static, MIT license) - \url{https://github.com/ngscopeclient/VkFFT/blob/master/half_lib/half.hpp}
\item canvas\_ity (static, ISC license) - \url{https://github.com/a-e-k/canvas_ity/blob/main/LICENSE.txt}
\item avx\_mathfun.h (static, zlib license) - \url{https://github.com/ngscopeclient/scopehal/blob/master/scopehal/avx_mathfun.h}
\item Dear ImGui (static, MIT license) - \url{https://github.com/ngscopeclient/imgui/blob/docking/LICENSE.txt}
\item imgui\_markdown (static, zlib license) - \url{https://github.com/enkisoftware/imgui_markdown/blob/main/License.txt}
\item imgui-node-editor (static, MIT license) - \url{https://github.com/ngscopeclient/imgui-node-editor/blob/master/LICENSE}
\item stb-image (static, MIT license) - \url{https://github.com/ngscopeclient/imgui-node-editor/blob/master/external/stb_image/stb_image.h}
\item ImGuiFileDialog (static, MIT license) - \url{https://github.com/aiekick/ImGuiFileDialog/blob/master/LICENSE}
\item Native File Dialog Extended (static, zlib license) - \url{https://github.com/btzy/nativefiledialog-extended/blob/master/LICENSE}
\item dbus (shared, LGPLv2.1 license) - \url{https://gitlab.gnome.org/GNOME/glib/-/blob/main/COPYING}
\item Vulkan-Hpp (static, Apache-2.0 license) - \url{https://github.com/KhronosGroup/Vulkan-Hpp/blob/main/LICENSE.txt}
\item vulkan-headers (static, MIT license) - \url{https://github.com/KhronosGroup/Vulkan-Headers/blob/main/LICENSE.md}
\item yaml-cpp (shared, MIT license) - \url{https://github.com/jbeder/yaml-cpp/blob/master/LICENSE}
\item vulkan-loader (shared, Apache-2.0 license) - \url{https://github.com/KhronosGroup/Vulkan-Loader?tab=License-1-ov-file#readme}
\item zlib (shared, zlib license) - \url{https://zlib.net/zlib_license.html}
\item glfw (shared, zlib license) - \url{https://www.glfw.org/license}
\item glslang (shared, BSD-3, BSD-2, MIT, and Apache-2.0 licenses) - \url{https://github.com/KhronosGroup/glslang/blob/main/LICENSE.txt}
\item libsigc++ (shared, LGPLv3 license) - \url{https://github.com/libsigcplusplus/libsigcplusplus/blob/master/COPYING}
\item libpng (shared, libpng license) - \url{http://www.libpng.org/pub/png/src/libpng-LICENSE.txt}
\item liblxi (shared, BSD-3/EPICS license) - \url{https://github.com/lxi-tools/liblxi/blob/master/LICENSE}
\item GTK 3.0 (shared, LGPLv2 license) - \url{https://gitlab.gnome.org/GNOME/gtk/-/blob/main/COPYING}
\item hidapi (shared, BSD-3 license) - \url{https://github.com/libusb/hidapi/blob/master/LICENSE.txt}
\item libtirpc (shared, BSD-3 license) - \url{https://github.com/alisw/libtirpc/blob/master/COPYING}
\item OpenMP (shared, GPLv3 license with GCC Runtime Library Exception) - \url{https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=libgomp/libgomp.h}
\end{itemize}

\subsection{Optional, only used if installed at compile time}
\begin{itemize}
\item linux-gpib (shared, GPLv2 license) - \url{https://sourceforge.net/p/linux-gpib/git/ci/master/tree/linux-gpib-user/COPYING}
\end{itemize}

\subsection{Only in unit tests}
\begin{itemize}
\item FFTW (shared, GPLv2-or-later) - \url{https://www.fftw.org/doc/License-and-Copyright.html}
\item catch2 (static, Boost license) - \url{https://github.com/catchorg/Catch2/blob/devel/LICENSE.txt}
\end{itemize}
